package cn.eeany.zutools.index.exception;

/**
 * BizException 类是
 *
 * @author xuping2
 * @date 2021-09-15 15:38
 **/
public class BizException extends RuntimeException{
    private int code;
    private String message;
    public BizException(){

    }

    public BizException(String message, int code, String message1) {
        super(message);
        this.code = code;
        this.message = message1;
    }

    /**
     * 优化性能,重写此方法
     * @return
     */
    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}
